package cn.yunyichina.provider.sb.vo;

import cn.yunyichina.provider.sb.entity.MedicalOutpatientDiagnosis;
import lombok.Getter;
import lombok.Setter;

/**
 * Created by 15-AK on 2017/7/12.
 */
@Getter
@Setter
public class MedicalOutpatientDiagnosisVo {
    /**报案号**/
    private String caseNo;
    /*门诊流水号*/
    private String outpatientSerialNo;
    /*患者ID患者唯一标识*/
    private String patientId;
    /*医疗类别*/
    private Short medicalCategory;
    /*病人费用类型 1-自费、2-医保*/
    private Short patientChargeType;
    /*挂号时间*/
    private String registerDate;
    /*就诊时间*/
    private String visitDate;
    /*医院编码*/
    private String hospitalNo;
    /*医院名称*/
    private String hospitalName;
    /*医疗机构等级*/
    private String medicalHierarchy;
    /*医疗机构类型 1-公立、2-民营*/
    private Short medicalInstitutionType;
    /*就诊科室编码*/
    private String visitDeptNo;
    /*就诊科室名称*/
    private String visitDeptName;
    /*疾病名称*/
    private String diseaseName;
    /*疾病编码*/
    private String diseaseNo;
    /*主诉*/
    private String mainSuit;
    /*总条数*/
    private Integer totalRows;
    /*总条数确定下当前条数是第几条，从1开始计数*/
    private Integer currentOffset;
    /*病史陈述者*/
    private String medicalHistoryStatement;
    /*现病史*/
    private String presentDiseaseHistory;
    /*既往病史*/
    private String anamnesis;
    /*婚育史*/
    private String obstetricalHistory;
    /*个人史*/
    private String personalHistory;
    /*家族史*/
    private String familyHistory;
    /*过敏史*/
    private String allergicHistory;
    /*月经史*/
    private String menstrualHistory;
    /*体格检查*/
    private String physicalCheck;
    /*专科检查*/
    private String specialityCheck;
    /*辅助检查*/
    private String accessoryCheck;
    /*治疗建议*/
    private String treatRecormend;
    /*急诊留观病程记录*/
    private String emergencyObservationRecord;
    /*急诊抢救记录*/
    private String emergencyRecord;
    /*电子病历大文本*/
    private String electronicMedicalRecords;
    /*诊断医生编号*/
    private String diagnosticianNo;
    /*诊断医生姓名*/
    private String diagnosticianName;
    /*医保诊断编码*/
    private String medicalDiagnosisNo;
    /*医保诊断名称*/
    private String medicalDiagnosisName;


    public MedicalOutpatientDiagnosisVo buildMedicalOutpatientDiagnosisVo(MedicalOutpatientDiagnosis medicalOutpatientDiagnosis){
        this.setCaseNo(medicalOutpatientDiagnosis.getCaseNo());
        this.setOutpatientSerialNo(medicalOutpatientDiagnosis.getMzFeeId());
        this.setPatientId(medicalOutpatientDiagnosis.getPatId());
        this.setMedicalCategory(medicalOutpatientDiagnosis.getMedicalType());
        this.setPatientChargeType(medicalOutpatientDiagnosis.getPatChargeType());
        this.setRegisterDate(medicalOutpatientDiagnosis.getRegTime());
        this.setVisitDate(medicalOutpatientDiagnosis.getVisitTime());
        this.setHospitalNo(medicalOutpatientDiagnosis.getHospitalCode());
        this.setHospitalName(medicalOutpatientDiagnosis.getHospitalName());
        this.setMedicalHierarchy(medicalOutpatientDiagnosis.getHospitalLevel());
        this.setMedicalInstitutionType(medicalOutpatientDiagnosis.getHospitalType());
        this.setVisitDeptNo(medicalOutpatientDiagnosis.getVisitDeptCode());
        this.setVisitDeptName(medicalOutpatientDiagnosis.getVisitDeptName());
        this.setDiseaseName(medicalOutpatientDiagnosis.getDiseaseName());
        this.setDiseaseNo(medicalOutpatientDiagnosis.getDiseaseCode());
        this.setMedicalHistoryStatement(medicalOutpatientDiagnosis.getMedicalHistoryStatement());
        this.setMainSuit(medicalOutpatientDiagnosis.getChiefComplaint());
        this.setPresentDiseaseHistory(medicalOutpatientDiagnosis.getHistoryPresentIllness());
        this.setAnamnesis(medicalOutpatientDiagnosis.getPastHistory());
        this.setObstetricalHistory(medicalOutpatientDiagnosis.getMaritalHistory());
        this.setPersonalHistory(medicalOutpatientDiagnosis.getPersonalHistory());
        this.setFamilyHistory(medicalOutpatientDiagnosis.getFamilyHistory());
        this.setAllergicHistory(medicalOutpatientDiagnosis.getAllergyHistory());
        this.setMenstrualHistory(medicalOutpatientDiagnosis.getMenstruationHistory());
        this.setPhysicalCheck(medicalOutpatientDiagnosis.getPhysicalExaminatio());
        this.setSpecialityCheck(medicalOutpatientDiagnosis.getSpecialistExamination());
        this.setAccessoryCheck(medicalOutpatientDiagnosis.getAuxiliaryExamination());
        this.setTreatRecormend(medicalOutpatientDiagnosis.getTreatreCommend());
        this.setEmergencyObservationRecord(medicalOutpatientDiagnosis.getEmergencyObservationRecord());
        this.setEmergencyRecord(medicalOutpatientDiagnosis.getEmergencyRecord());
        this.setElectronicMedicalRecords(medicalOutpatientDiagnosis.getElectronicMedicalRecords());
        this.setDiagnosticianNo(medicalOutpatientDiagnosis.getDiagnosisDoctorCode());
        this.setDiagnosticianName(medicalOutpatientDiagnosis.getDiagnosisDoctorName());
        this.setMedicalDiagnosisNo(medicalOutpatientDiagnosis.getMedicalDiagnosisCode());
        this.setMedicalDiagnosisName(medicalOutpatientDiagnosis.getMedicalDiagnosisName());
        this.setTotalRows(medicalOutpatientDiagnosis.getTotalRows());
        this.setCurrentOffset(medicalOutpatientDiagnosis.getCurrentOffset());
        return this;
    }

}